/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package simuri.similarity;

/**
 *
 * @author fomy
 */
public class DbSimilarityFunctionFactory {
    
      public static DbSimilarityFunction get(String name)
    {
        if(name.toLowerCase().startsWith("dbtrigrams"))
            return new DbTrigramsSimilarity();
        return new DbTrigramsSimilarity();
    }
    
}
